package com.example.administrator.maizuofilm.card.fragment;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.maizuofilm.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * Created by Administrator on 2016/7/14.
 */
public class DengLuActivity extends Activity {
    @InjectView(R.id.text_zhuce)
    TextView textZhuce;
    @InjectView(R.id.text_mima)
    TextView textMima;
    @InjectView(R.id.button_denglu)
    Button buttonDenglu;
    @InjectView(R.id.denglu_qq)
    ImageView dengluQq;
    @InjectView(R.id.denglu_wc)
    ImageView dengluWc;
    @InjectView(R.id.denglu_wb)
    ImageView dengluWb;
    @InjectView(R.id.toobar_back_denglu)
    Toolbar toobarBackDenglu;
    @InjectView(R.id.text_youxiang)
    EditText textYouxiang;
    @InjectView(R.id.text_pasword)
    EditText textPasword;
    @InjectView(R.id.text_tan)
    TextView textTan;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.active_denglu);
        ButterKnife.inject(this);
        toobarBackDenglu.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    @OnClick({R.id.text_zhuce, R.id.text_mima, R.id.button_denglu,
            R.id.denglu_qq, R.id.denglu_wc, R.id.denglu_wb, R.id.toobar_back_denglu,R.id.text_youxiang
    ,R.id.text_pasword,R.id.text_tan})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.text_zhuce:
                Intent intent = new Intent();
                intent.setClass(this, ZhuCeActivity.class);
                startActivity(intent);
                break;
            case R.id.text_mima:
                Intent intent1 = new Intent();
                intent1.setClass(this, FindPasswordActivity.class);
                startActivity(intent1);
                break;
            case R.id.button_denglu:
                break;
            case R.id.denglu_qq:
                break;
            case R.id.denglu_wc:
                break;
            case R.id.denglu_wb:
                break;
            case R.id.text_youxiang:
                break;
            case R.id.text_pasword:
                break;
            case R.id.text_tan:
                break;


        }
    }

}
